package com.app.designpatternslearn.behavior.chainofresponsibilitypattern

import com.app.designpatternslearn.behavior.chainofresponsibilitypattern.code.*

fun main() {



    val handles = mutableListOf<IHandle>()
    handles.add(HandleOne())
    handles.add(HandleTwo())
    handles.add(HandleThree())

    val iHandleChain = DefaultHandleChain(handles)
    iHandleChain.doHandle()
}